﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebAPI_Model.MaterialsManagement
{
    /// <summary>
    /// 物资采购
    /// </summary>
    [Table("SuppliesPurchasing")]
    public class SuppliesPurchasing:Audit
    {
        /// <summary>
        /// 货物ID
        /// </summary>
        [Key]
        public int SPcargoID { get; set; }
        /// <summary>
        /// 货物名称
        /// </summary>
        public string? SPcargoName { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int typeID { get; set; }
        /// <summary>
        /// 材  质
        /// </summary>
        public int materiaLqualityID { get; set; }
        /// <summary>
        /// 规  格
        /// </summary>
        public string? gaugeLattice {  get; set; }
        /// <summary>
        /// 产  地：国家
        /// </summary>
        public int nationID {  get; set; }
        /// <summary>
        /// 产  地：省
        /// </summary>
        public int provinceID { get; set; }
        /// <summary>
        /// 数  量
        /// </summary>
        public decimal quantity { get; set; }
        /// <summary>
        /// 期望交付日期
        /// </summary>
        public DateTime? expectedDeliveryDate { get; set; }
        /// <summary>
        /// 用途描述
        /// </summary>
        public string? purposeDescription {  get; set; }
        /// <summary>
        /// 备  注
        /// </summary>
        public string? reserveNote { get; set; }
    }
}
